﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Collections;
namespace DAO
{
    public class ChangBayChuyenBayDAO
    {
          public int themChangBayChuyenBay(string maChangBay,string maChuyenBay,string ngayDi,string ngayDen,string gioDi,string gioDen,float tongGioBay)
       {
           int n = 0;
           string sql = "insert into ChangBay_ChuyenBay values("+maChangBay+",'"+maChuyenBay+"','"+ngayDi+"','"+ngayDen+"','"+gioDi+"','"+gioDen+"',"+tongGioBay+",1)";
           n = DataProvider.ExecuteNoneQuery(sql);
           return n;
       }
    }
}
